package com.hcy.schedulingclient.model.driver.request;

import com.hcy.rabbitbasicmodel.signl.Add;
import com.hcy.rabbitbasicmodel.signl.Delete;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/1/13 18:46
 */
@Data
public class UploadLocationRequestDTO {
    @NotNull(groups = {Add.class})
    private Double lat;
    @NotNull(groups = {Add.class})
    private Double log;
    @NotNull(groups = {Delete.class, Add.class})
    private Integer tid;
}
